package com.ruoyi.system.domain.front;

import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 题目库对象 safety_examination_question
 * 
 * @author ruoyi
 * @date 2021-04-07
 */
public class ExaminationFrontContent extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 题号 */
    private List<ExaminationFrontQuestionInfo> examinationFrontQuestionInfos;

    /** 当前题目顺序 */
    private Integer currentSoft = 0;

    /** 题目总数 */
    private Integer questionSum = 0;

    /** 对题 */
    private Integer trueAmount = 0;

    /** 错题 */
    private Integer falseAmount = 0;

    public void setExaminationFrontQuestionInfos(List<ExaminationFrontQuestionInfo> examinationFrontQuestionInfos)
    {
        this.examinationFrontQuestionInfos = examinationFrontQuestionInfos;
    }
    public List<ExaminationFrontQuestionInfo> getExaminationFrontQuestionInfos()
    {
        return examinationFrontQuestionInfos;
    }

    public void setCurrentSoft(Integer currentSoft)
    {
        this.currentSoft = currentSoft;
    }
    public Integer getCurrentSoft()
    {
        return currentSoft;
    }

    public void setQuestionSum(Integer questionSum)
    {
        this.questionSum = questionSum;
    }
    public Integer getQuestionSum()
    {
        return questionSum;
    }

    public void setTrueAmount(Integer trueAmount)
    {
        this.trueAmount = trueAmount;
    }
    public Integer getTrueAmount()
    {
        return trueAmount;
    }

    public void setFalseAmount(Integer falseAmount)
    {
        this.falseAmount = falseAmount;
    }
    public Integer getFalseAmount()
    {
        return falseAmount;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("examinationFrontQuestionInfos", getExaminationFrontQuestionInfos())
            .append("currentSoft", getCurrentSoft())
            .append("questionSum", getQuestionSum())
            .append("trueAmount", getTrueAmount())
            .append("falseAmount", getFalseAmount())
            .toString();
    }
}
